<div id="content">
    <div id="form" class="row-fluid">
		<?php
		if ($this->session->userdata('change_success')) {
			echo $this->session->userdata('change_success');
			$this->session->unset_userdata('change_success');
		}
		?>
        <hr/>
		<?php
		if ($get_profile) {
			?>
			<div class="span8 myspan8">
				<div class="modal-header">
					<?php
					echo anchor('employee/show_employee', form_button('btn_cross', '×', 'title="Close" class="close" data-dismiss="modal" aria-hidden="true"'));
					echo heading('Employee\'s profile', 3, 'class="myModalLabel"');
					?>
				</div>
				<div class="span12">
					<table class="tbl mytable">
						<tr>
							<td rowspan="8" style="width:133px;">
								<div id="images" class="img-polaroid">
									<table class="mytable">
										<?php
										foreach ($get_profile->result() as $row) {
											?> 
											<tr>
												<td>
													<?php echo img(site_url('uploads/users/' . $row->emp_photo)); ?>
												</td>
											</tr>
											<tr>
												<td class="options-width"></td>
											</tr>
										<?php } ?>
									</table>
								</div>
							</td>
							<td class="txt">First Name</td>
							<td class="txt1">:</td>
							<td class="input_txt"><?php echo ucfirst($row->emp_fname); ?></td>
						</tr>
						<tr>
							<td class="txt">Last Name</td>
							<td class="txt1">:</td>
							<td class="input_txt"><?php echo strtoupper($row->emp_lname); ?></td>
						</tr>
						<tr>
							<td class="txt">Gender</td>
							<td class="txt1">:</td>
							<td class="input_txt"><?php echo $row->emp_gender; ?></td>
						</tr>
						<tr>
							<td class="txt">Username</td>
							<td class="txt1">:</td>
							<td class="input_txt"><?php echo $row->username; ?></td>
						</tr>
						<tr>
							<td class="txt">Start Work On</td>
							<td class="txt1">:</td>
							<td class="input_txt"><?php echo $row->start_date_work; ?></td>
						</tr>
						<tr>
							<td class="txt">Position</td>
							<td class="txt1">:</td>
							<td class="input_txt"><?php echo $row->pos_name; ?></td>
						</tr>
						<tr>
							<td class="txt">Department</b></td>
							<td class="txt1">:</td>
							<td class="input_txt"><?php echo $row->dept_name; ?></td>
						</tr>
						<tr>
							<td class="txt">Group</b></td>
							<td class="txt1">:</td>
							<td class="input_txt"><?php echo $row->grp_name; ?></td>
						</tr>
					</table>
				</div>
				<div class="modal-footer">
					<?php echo anchor('employee/show_employee', form_button('cancel', 'Back', 'class="btn btn-info" title="Close"')); ?>
				</div>
			</div>
		<?php } ?>
        <br/>
    </div>
</div>